/*
 * VegetableSuppliesGetterVisitor.hpp
 *
 *  Created on: 10-01-2011
 *      Author: Piotr
 */

#pragma once

#include "world/ElementsVisitor.hpp"
#include "pch.hpp"

/*
 * Outputs only vegetable supplies from elements.
 */
class VegetableSuppliesGetterVisitor: public ElementsVisitor
{
	private:
		std::vector<VegetableSupply*> vegetableSupplies;

	public:
		void visit(Barrier& barrier);
		void visit(Individual& individual);
		void visit(MeatSupply& meatSupply);
		void visit(VegetableSupply& vegetableSupply);
		void visit(WaterSupply& waterSupply);

		const std::vector<VegetableSupply*> getVector();
};
